package com.hyfrogx.modules.app.form.course;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @Author: Luo
 * @Date: 2019/11/18 16:25
 */
@Data
@ApiModel
public class WatchCourseForm {

    @ApiModelProperty("章节id")
    @NotNull(message = "章节id不能为空")
    private Integer cid;

    @ApiModelProperty("观看比例")
    @NotNull(message = "观看比例不能为空")
    private String watch;
}
